package com.hd.boot.pojo;

public class Persone {
    private  Integer pId;
    private String director;
    private String star;
    private String pdate;
    private Integer fId;
    private Film film;


    public Persone(Integer pId, String director, String star, String pdate, Integer fId, Film film) {
        this.pId = pId;
        this.director = director;
        this.star = star;
        this.pdate = pdate;
        this.fId = fId;
        this.film = film;
    }

    public Persone() {
        super();
    }

    @Override
    public String toString() {
        return "Persone{" +
                "pId=" + pId +
                ", director='" + director + '\'' +
                ", star='" + star + '\'' +
                ", pdate='" + pdate + '\'' +
                ", fId=" + fId +
                ", film=" + film +
                '}';
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public String getPdate() {
        return pdate;
    }

    public void setPdate(String pdate) {
        this.pdate = pdate;
    }

    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public Film getFilm() {
        return film;
    }

    public void setFilm(Film film) {
        this.film = film;
    }
}
